package fun.gudu;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;


/**
 * 由此类当作程序入口，自动装配 web 依赖的环境
 *
 * @author WeiZiDong
 */
@Slf4j
@SpringBootApplication
@MapperScan("fun.gudu.modules.mapper")
public class Application extends SpringBootServletInitializer {

    /**
     * APP启动
     */
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
